"""
#!!===========================================================
#版权（C）2023, Huawei Technologies Co., HUTAF xDevice
#!!===========================================================
#文 件 名:      SecurityUserIamAuthWidgetDepend.py
#文件说明:      拉起控件AW
#作   者:
#生成日期:
#!!===========================================================
"""

# -*- coding: utf-8 -*-
from devicetest.core.test_case import keyword
from aw.Useriam.AuthWidget import SecurityUserIamAuthWidgetHapApi


@keyword
def widget(oh_device, authtype, trustlevel, title, Navigation, windowModeType):
    SecurityUserIamAuthWidgetHapApi.setAPI(oh_device, 3)
    SecurityUserIamAuthWidgetHapApi.setAuthType(oh_device, authtype, trustlevel, title, Navigation, windowModeType)

